#ifndef COMPLEX_H
#define COMPLEX_H

#include <iostream>
#include <cmath>
using namespace std;

class Complex
{
private:


public:
  double re, im;   // переменные

  Complex ();
  Complex (double r);
  Complex (double r, double i);
  Complex (const Complex &c) ;



  ~Complex ();

  double abs ();

  Complex& operator+= (Complex &c);

  Complex operator+ (const Complex &c);

  Complex operator- (const Complex &c);

  Complex operator* (const Complex &c);

  Complex operator/ (const Complex &c);
  friend ostream & operator<< (ostream &, const Complex &);
  friend istream & operator>> (istream &, Complex &);

};



#endif // COMPLEX_H
